<header class="main-header">
    <!-- Logo -->
    <a href="{:U('admin/index')}" class="logo">
        <!-- mini logo for sidebar mini 50x50 pixels -->
        <span class="logo-mini">CK</span>
        <!-- logo for regular state and mobile devices -->
        <span class="logo-lg">CK开源博客</span>
    </a>
    <!-- Header Navbar: style can be found in header.less -->
    <nav class="navbar navbar-static-top">
        <!-- Sidebar toggle button-->
        <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
            <span class="sr-only">Toggle navigation</span>
        </a>

        <div class="navbar-custom-menu">
            <ul class="nav navbar-nav">
                <li class="dropdown user user-menu">
                    <a href="#" ><span class="hidden-xs">欢迎你，{:session('user_name')}</span></a>
                </li>
                <li class="dropdown user user-menu">
                    <a target="_blank" href="{:U('Home/Index/index')}" >
                        <span class="hidden-xs">前台首页</span>
                    </a>
                </li>
                <li class="dropdown user user-menu">
                    <a href="{:U('Admin/loginOut')}" >
                        <span class="hidden-xs">安全退出</span>
                    </a>
                </li>
                <!-- Control Sidebar Toggle Button -->
            </ul>
        </div>
    </nav>
</header>